<?php

function readConfig($filename){
	$outdb = fopen($filename,'r');
	while(!feof($outdb)){
		$str = fgets($outdb);
		$str = trim($str);
		if($str[0] !== '#' && !empty($str)){
			$temp = explode('=',$str);
			$outinfo[trim($temp[0])] = trim($temp[1]);
		}
	}
	fclose($outdb);
	return $outinfo;
}


?>